package top.songxs.gmall.product.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.songxs.gmall.product.entity.SpuSaleAttr;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 86176
* @description 针对表【spu_sale_attr(spu销售属性)】的数据库操作Mapper
* @createDate 2023-05-15 20:14:07
* @Entity top.songxs.gmall.product.entity.SpuSaleAttr
*/
@Repository
public interface SpuSaleAttrMapper extends BaseMapper<SpuSaleAttr> {

    List<SpuSaleAttr> getSpuSaleAttrListBySpuId(@Param("spuId") Long spuId);

    List<SpuSaleAttr> findSpuSalAttrAndValueBySkuId(Long skuId);
}




